package com.myaxuan.util.designpattern.producerandconsumer;

/**
 * Created by pc255 on 2018/5/7.
 */
public class PCData {
	private final int intData;
	public PCData(int d){
		intData = d;
	}
	public PCData(String d){
		intData = Integer.valueOf(d);
	}
	public int getData(){
		return intData;
	}
	@Override
	public String toString(){
		return "data:"+intData;
	}
}
